//
//  PostDetailTableViewCell_footer.m
//  SXHomeTownClub
//
//  Created by 周思扬 on 2018/5/30.
//  Copyright © 2018年 jsx. All rights reserved.
//

#import "PostDetailTableViewCell_footer.h"

@implementation PostDetailTableViewCell_footer

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setCommentData:(PostDetailData *)commentData
{
    _commentData=commentData;
    [self.headImg sd_setImageWithURL:[NSURL URLWithString:commentData.headimg] placeholderImage:[UIImage imageNamed:PlaceHolderImg_Head]];
    self.nameLab.text=commentData.author;
    self.timeLab.text=commentData.date;
    self.levelLab.text=[NSString stringWithFormat:@"LV%@",commentData.level];
    self.commentLab.text=commentData.message;
}
@end
